package com.bnz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import javax.sql.DataSource;

// @SpringBootApplication(exclude = DataSource.class) 排除数据源(也可以在pom文件排除)
@SpringBootApplication // 启动类
@EnableDiscoveryClient // 注入到nacos
@EnableFeignClients // 远程调用注解
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class,args);
    }
}
